import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'course-form',
  templateUrl: './course-form.component.html',
  styleUrls: ['./course-form.component.css']
})
export class CourseFormComponent{
  categories = [
    {id: 1, name: "development"},
    {id: 2, name: "xxxx"},
    {id: 3, name: "aaaaa"}
  ];
  submit(f) {
    console.log(f);
  }
}
